<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:th="http://www.thymeleaf.org">
	<head>
		<title>注册页面</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" type="text/css" th:href="@{/css/style.css}"/>
		<link rel="stylesheet" type="text/css" th:href="@{/bootstrap/css/bootstrap.css}"/>
	</head>
	<body>
		<div id="wrap">
			<div id="top_content">
					<div id="header">
						<div id="rightheader">
							<p>
								[[${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd')}]]
								<br />
							</p>
						</div>
						<div id="topheader">
							<h1 id="title">
								<a href="#">影像制品租凭管理系统</a>
							</h1>
						</div>
						<div id="navigation">
						</div>
					</div>
				<div id="content">
					<p id="whereami">
					</p>
					<h1>
						用户注册
					</h1>
					<form th:action="@{/user/register}" method="post">
						<table cellpadding="0" cellspacing="0" border="0"
							class="form_table">
							<tr>
								<td valign="middle" align="right">
									用户名:
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" name="username" />
								</td>
							</tr>
							<tr>
								<td valign="middle" align="right">
									真实姓名:
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" name="realname" />
								</td>
							</tr>
							<tr>
								<td valign="middle" align="right">
									密码:
								</td>
								<td valign="middle" align="left">
									<input type="password" class="inputgri" name="password" />
								</td>
							</tr>
							<tr>
								<td valign="middle" align="right">
									性别:
								</td>
								<td valign="middle" align="left">
									男
									<input type="radio" class="inputgri" name="sex" value="man" checked="checked"/>
									女
									<input type="radio" class="inputgri" name="sex" value="woman"/>
								</td>
							</tr>
							<tr>
								<td valign="middle" align="right">
									年龄:
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" name="age" />
								</td>
							</tr>
							<tr>
								<td valign="middle" align="right">
									手机号:
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" name="phone" />
								</td>
							</tr>
<!--							<tr>-->
<!--								<td valign="middle" align="right">-->
<!--									验证码:-->
<!--									<img id="num" th:src="@{/user/code}" />-->
<!--									<a href="javascript:;" onclick="document.getElementById('num').src = '/ims/user/code?'+(new Date()).getTime()">换一张</a>-->
<!--								</td>-->
<!--								<td valign="middle" align="left">-->
<!--									<input type="text" class="inputgri" name="code" />-->
<!--								</td>-->
<!--							</tr>-->
						</table>
						<p>
							<input type="submit" class="btn btn-primary" value="提交 &raquo;" />
							<button type="reset" class="btn btn-default">重置</button>
							<button type="button" class="btn btn-default" onclick="location.href='/ims/index'">取消</button>
						</p>
					</form>
				</div>
			</div>
			<div id="footer">
				<div id="footer_bg">
				copyright@2021
				</div>
			</div>
		</div>
	</body>
</html>
